/** *******************************************************************
 * FlexDatabaseManager
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.tables
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
		
	public final class RenameTableEvent extends CairngormEvent
	{
		public static const RENAME_TABLE_EVENT:String = "RENAME_TABLE_EVENT";

		public var aNewName:String;

		public function RenameTableEvent( aNewName:String )
		{
			super( RENAME_TABLE_EVENT );
			this.aNewName = aNewName;
		}
		
		override public function clone():Event
		{
			return new RenameTableEvent( aNewName );
		}
	}
}